package com.xqboss.apps.service.nft;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xqboss.apps.domain.nft.NftSellCalendar;
import com.xqboss.apps.mapper.nft.NftSellCalendarMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author HaoLun
 * @since 2022-08-03
 */
@Service
public class NftSellCalendarService extends ServiceImpl<NftSellCalendarMapper, NftSellCalendar> {

//    @Resource
//    private NftService nftService;

//    public PageResponseVO<NftSellCanlendarVO> pageList(Page<NftSellCalendar> pager){
//        Page<NftSellCalendar> paging = this.page(pager);
//        PageResponseVO<NftSellCanlendarVO> responseVO = PageUtil.build(paging, NftSellCanlendarVO.class);
//        responseVO.getItems().stream().forEach(item -> {
//            item.setCanBuy(nftService.getById(item.getNftId()).getCanBuy());
//        });
//        return responseVO;
//    }


}
